package Assignment.Test5;

public class Manager extends Staff{
    private int bons;

    public Manager() {
    }

    public Manager(String name, String id, int wage, int bons) {
        super(name, id, wage);
        this.bons = bons;
    }

    public int getBons() {
        return bons;
    }

    public void setBons(int bons) {
        this.bons = bons;
    }

    @Override
    public void work() {
        System.out.println("提需求");
    }
}
